<?php
$rss_url = get_bloginfo('rss2_url');
$comments_rss_url = get_bloginfo('comments_rss2_url');
$name = get_bloginfo('name');
$home_link = "<a href='" . get_bloginfo("url") . "'>"
            . get_bloginfo("name") . "</a>";

echo "
<div id='footer-daily'>
    Produced by Netville. Powered by <a href='http://wordpress.org/'>WordPress.org</a>.
    <!-- It is recommended that you leave this link.
    Links such as these are Wordpress' main form of advertising. -->
</div><!-- end #footer -->
";
    
    if ( defined('SAVEQUERIES') && SAVEQUERIES && current_user_can('level_10'))
    {
        global $wpdb;
        echo "<pre>";
        print_r($wpdb->queries);
        echo "</pre>";
    }

echo "
</div><!-- end #container -->
";

echo "
</body></html>
";
